package com.sz.model;

import org.springframework.data.annotation.Id;
import tk.mybatis.mapper.annotation.KeySql;

public class OtherBank {
    public OtherBank() {
    }

    public OtherBank(Integer oBankId, String oUname, String bankAccount, Long balance, String bankPwd) {
        this.oBankId = oBankId;
        this.oUname = oUname;
        this.bankAccount = bankAccount;
        this.balance = balance;
        this.bankPwd = bankPwd;
    }

    @Override
    public String toString() {
        return "OtherBank{" +
                "oBankId=" + oBankId +
                ", oUname='" + oUname + '\'' +
                ", bankAccount='" + bankAccount + '\'' +
                ", balance=" + balance +
                ", bankPwd='" + bankPwd + '\'' +
                '}';
    }

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column other_bank.o_bank_id
     *
     * @mbggenerated
     */
    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer oBankId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column other_bank.o_uname
     *
     * @mbggenerated
     */
    private String oUname;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column other_bank.bank_account
     *
     * @mbggenerated
     */
    private String bankAccount;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column other_bank.balance
     *
     * @mbggenerated
     */
    private Long balance;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column other_bank.bank_pwd
     *
     * @mbggenerated
     */
    private String bankPwd;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column other_bank.o_bank_id
     *
     * @return the value of other_bank.o_bank_id
     *
     * @mbggenerated
     */
    public Integer getoBankId() {
        return oBankId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column other_bank.o_bank_id
     *
     * @param oBankId the value for other_bank.o_bank_id
     *
     * @mbggenerated
     */
    public void setoBankId(Integer oBankId) {
        this.oBankId = oBankId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column other_bank.o_uname
     *
     * @return the value of other_bank.o_uname
     *
     * @mbggenerated
     */
    public String getoUname() {
        return oUname;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column other_bank.o_uname
     *
     * @param oUname the value for other_bank.o_uname
     *
     * @mbggenerated
     */
    public void setoUname(String oUname) {
        this.oUname = oUname == null ? null : oUname.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column other_bank.bank_account
     *
     * @return the value of other_bank.bank_account
     *
     * @mbggenerated
     */
    public String getBankAccount() {
        return bankAccount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column other_bank.bank_account
     *
     * @param bankAccount the value for other_bank.bank_account
     *
     * @mbggenerated
     */
    public void setBankAccount(String bankAccount) {
        this.bankAccount = bankAccount == null ? null : bankAccount.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column other_bank.balance
     *
     * @return the value of other_bank.balance
     *
     * @mbggenerated
     */
    public Long getBalance() {
        return balance;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column other_bank.balance
     *
     * @param balance the value for other_bank.balance
     *
     * @mbggenerated
     */
    public void setBalance(Long balance) {
        this.balance = balance;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column other_bank.bank_pwd
     *
     * @return the value of other_bank.bank_pwd
     *
     * @mbggenerated
     */
    public String getBankPwd() {
        return bankPwd;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column other_bank.bank_pwd
     *
     * @param bankPwd the value for other_bank.bank_pwd
     *
     * @mbggenerated
     */
    public void setBankPwd(String bankPwd) {
        this.bankPwd = bankPwd == null ? null : bankPwd.trim();
    }
}